#/bin/bash

APP_DIR=/www/python/host/
nginx=/usr/local/nginx/sbin/nginx
lockfile=/var/lock/subsys/nginx
NGINX_CONF_FILE="/usr/local/nginx/conf/nginx.conf"
prog=$(basename $nginx)

nginx_reload() {
	echo "Reload $prog..."
	$nginx -s reload
}

uwsgi_reload() {
	echo "Reload UWSGI..."
	uwsgi --reload /tmp/uwsgi.pid
}

nginx_reload
uwsgi_reload
